class Fish:
    def swim(self):
        print('游泳')
    def eatHuman(self):
        print('吃人')

piranha=Fish()
piranha.swim()
piranha.eatHuman()
print('~~~'*30)
print(id(piranha.swim()))
print('~~~'*30)
print(id(piranha.eatHuman()))